.class public Lcom/xingbook/ui/a/i;
.super Lcom/xingbook/ui/a/c;

# interfaces
.implements Lcom/xingbook/ui/a/ac;
.implements Lcom/xingbook/ui/overclass/a;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field private A:Landroid/view/WindowManager$LayoutParams;

.field private B:Landroid/view/WindowManager;

.field private C:Lcom/xingbook/d/a;

.field private D:I

.field private E:F

.field private F:F

.field private G:Landroid/graphics/Rect;

.field private H:Landroid/os/Handler;

.field private n:Landroid/graphics/Bitmap;

.field private o:Landroid/graphics/Bitmap;

.field private p:Lcn/a/a/b/e;

.field private q:[I

.field private r:I

.field private s:I

.field private t:I

.field private u:Z

.field private v:Z

.field private w:Z

.field private x:Z

.field private y:Z

.field private z:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V
    .locals 6

    const/4 v5, 0x0

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2, p3, p4}, Lcom/xingbook/ui/a/c;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    iput-object v5, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    iput-object v5, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    iput v1, p0, Lcom/xingbook/ui/a/i;->r:I

    iput v1, p0, Lcom/xingbook/ui/a/i;->s:I

    iput-boolean v1, p0, Lcom/xingbook/ui/a/i;->u:Z

    iput-boolean v1, p0, Lcom/xingbook/ui/a/i;->v:Z

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/a/i;->w:Z

    iput-boolean v1, p0, Lcom/xingbook/ui/a/i;->x:Z

    iput-boolean v1, p0, Lcom/xingbook/ui/a/i;->y:Z

    const/4 v0, -0x1

    iput v0, p0, Lcom/xingbook/ui/a/i;->D:I

    new-instance v0, Lcom/xingbook/ui/a/l;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/a/l;-><init>(Lcom/xingbook/ui/a/i;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->H:Landroid/os/Handler;

    iput-object p5, p0, Lcom/xingbook/ui/a/i;->C:Lcom/xingbook/d/a;

    check-cast p3, Lcn/a/a/b/e;

    iput-object p3, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->l()I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/a/i;->r:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->a()I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/a/i;->t:I

    iget v0, p0, Lcom/xingbook/ui/a/i;->t:I

    new-array v0, v0, [I

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->q:[I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->b()[Lcn/a/a/d/b;

    move-result-object v2

    move v0, v1

    :goto_0
    iget v3, p0, Lcom/xingbook/ui/a/i;->t:I

    if-lt v0, v3, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->f()Lcn/a/a/d/e;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/e;->a()Z

    move-result v0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/i;->v:Z

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->f()Lcn/a/a/d/e;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/e;->d()Z

    move-result v0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/i;->x:Z

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/a/i;->setWillNotDraw(Z)V

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->l()V

    invoke-virtual {p4}, Lcom/xingbook/c/e;->b()Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Landroid/graphics/Rect;

    iget v2, p0, Lcom/xingbook/ui/a/i;->i:I

    iget v3, p0, Lcom/xingbook/ui/a/i;->h:I

    invoke-direct {v0, v1, v1, v2, v3}, Landroid/graphics/Rect;-><init>(IIII)V

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->G:Landroid/graphics/Rect;

    :goto_1
    return-void

    :cond_0
    iget-object v3, p0, Lcom/xingbook/ui/a/i;->q:[I

    aget-object v4, v2, v0

    invoke-virtual {v4}, Lcn/a/a/d/b;->d()I

    move-result v4

    aput v4, v3, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    iput-object v5, p0, Lcom/xingbook/ui/a/i;->G:Landroid/graphics/Rect;

    goto :goto_1
.end method

.method static synthetic a(Lcom/xingbook/ui/a/i;F)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/a/i;->E:F

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/a/i;I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/a/i;->s:I

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/a/i;Landroid/graphics/Bitmap;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/a/i;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->u:Z

    return v0
.end method

.method static synthetic b(Lcom/xingbook/ui/a/i;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/a/i;->s:I

    return v0
.end method

.method static synthetic b(Lcom/xingbook/ui/a/i;F)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/a/i;->F:F

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ui/a/i;Landroid/graphics/Bitmap;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    return-void
.end method

.method static synthetic c(Lcom/xingbook/ui/a/i;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/a/i;->t:I

    return v0
.end method

.method static synthetic d(Lcom/xingbook/ui/a/i;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->v:Z

    return v0
.end method

.method static synthetic e(Lcom/xingbook/ui/a/i;)Landroid/graphics/Bitmap;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/ui/a/i;)Landroid/graphics/Bitmap;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/ui/a/i;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->m()V

    return-void
.end method

.method static synthetic h(Lcom/xingbook/ui/a/i;)Lcom/xingbook/d/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->C:Lcom/xingbook/d/a;

    return-object v0
.end method

.method static synthetic i(Lcom/xingbook/ui/a/i;)Lcn/a/a/b/e;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    return-object v0
.end method

.method static synthetic j(Lcom/xingbook/ui/a/i;)[I
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->q:[I

    return-object v0
.end method

.method static synthetic k(Lcom/xingbook/ui/a/i;)F
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/a/i;->E:F

    return v0
.end method

.method static synthetic l(Lcom/xingbook/ui/a/i;)F
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/a/i;->F:F

    return v0
.end method

.method private l()V
    .locals 4

    const/4 v3, 0x0

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->x:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ui/a/i;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "window"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/WindowManager;

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->B:Landroid/view/WindowManager;

    new-instance v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->e:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    iget v1, p0, Lcom/xingbook/ui/a/i;->i:I

    iget v2, p0, Lcom/xingbook/ui/a/i;->h:I

    invoke-virtual {v0, v3, v3, v1, v2}, Landroid/widget/ImageView;->layout(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v0, Landroid/view/WindowManager$LayoutParams;

    invoke-direct {v0}, Landroid/view/WindowManager$LayoutParams;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x33

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->gravity:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    iget v1, p0, Lcom/xingbook/ui/a/i;->i:I

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->width:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    iget v1, p0, Lcom/xingbook/ui/a/i;->h:I

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x198

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    const/4 v1, -0x3

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->format:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    iput v3, v0, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I

    new-instance v0, Lcom/xingbook/ui/a/j;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/a/j;-><init>(Lcom/xingbook/ui/a/i;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/i;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    :cond_0
    return-void
.end method

.method private m()V
    .locals 2

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->y:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_0
    invoke-virtual {p0}, Lcom/xingbook/ui/a/i;->invalidate()V

    return-void
.end method

.method private n()V
    .locals 4

    const/4 v3, 0x1

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->u:Z

    if-nez v0, :cond_0

    iput-boolean v3, p0, Lcom/xingbook/ui/a/i;->u:Z

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->H:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->H:Landroid/os/Handler;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->q:[I

    iget v2, p0, Lcom/xingbook/ui/a/i;->s:I

    aget v1, v1, v2

    int-to-long v1, v1

    invoke-virtual {v0, v3, v1, v2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    :cond_0
    return-void
.end method

.method private o()V
    .locals 2

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->u:Z

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/i;->u:Z

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->H:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->H:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_0
    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->q()V

    :cond_1
    return-void
.end method

.method private p()V
    .locals 2

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->u:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/i;->u:Z

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->H:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->H:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_0
    return-void
.end method

.method private q()V
    .locals 3

    iget v0, p0, Lcom/xingbook/ui/a/i;->s:I

    iget v1, p0, Lcom/xingbook/ui/a/i;->r:I

    if-eq v0, v1, :cond_0

    iget v0, p0, Lcom/xingbook/ui/a/i;->r:I

    iput v0, p0, Lcom/xingbook/ui/a/i;->s:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->C:Lcom/xingbook/d/a;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v1}, Lcn/a/a/b/e;->b()[Lcn/a/a/d/b;

    move-result-object v1

    iget v2, p0, Lcom/xingbook/ui/a/i;->r:I

    aget-object v1, v1, v2

    invoke-virtual {v1}, Lcn/a/a/d/b;->a()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->m()V

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->C:Lcom/xingbook/d/a;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v1}, Lcn/a/a/b/e;->b()[Lcn/a/a/d/b;

    move-result-object v1

    const/4 v2, 0x0

    aget-object v1, v1, v2

    invoke-virtual {v1}, Lcn/a/a/d/b;->a()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    :cond_0
    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget v0, p0, Lcom/xingbook/ui/a/i;->D:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->n()V

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/ui/a/i;->D:I

    :cond_0
    return-void
.end method

.method public a(IIZ)V
    .locals 5

    const/4 v4, 0x0

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->y:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->f()Lcn/a/a/d/e;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/e;->e()Z

    move-result v0

    if-eqz v0, :cond_0

    int-to-float v0, p1

    iget v1, p0, Lcom/xingbook/ui/a/i;->E:F

    sub-float/2addr v0, v1

    float-to-int v0, v0

    int-to-float v1, p2

    iget v2, p0, Lcom/xingbook/ui/a/i;->F:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iget v2, p0, Lcom/xingbook/ui/a/i;->i:I

    add-int/2addr v2, v0

    iget v3, p0, Lcom/xingbook/ui/a/i;->h:I

    add-int/2addr v3, v1

    invoke-virtual {p0, v0, v1, v2, v3}, Lcom/xingbook/ui/a/i;->layout(IIII)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/b/a;->setActivityTouchListener(Lcom/xingbook/ui/overclass/a;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->B:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    invoke-interface {v0, v1}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V

    iput-boolean v4, p0, Lcom/xingbook/ui/a/i;->y:Z

    invoke-virtual {p0, v4}, Lcom/xingbook/ui/a/i;->setVisibility(I)V

    :cond_1
    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->w:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/i;->d:I

    const/4 v2, 0x4

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/b/a;->a(II)Z

    :goto_0
    return-void

    :cond_2
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/a/i;->w:Z

    goto :goto_0
.end method

.method public a(Z)V
    .locals 6

    const/4 v5, 0x5

    const/4 v4, 0x2

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->c:Lcn/a/a/b/b;

    invoke-virtual {v1}, Lcn/a/a/b/b;->i()I

    move-result v1

    iget-object v2, p0, Lcom/xingbook/ui/a/i;->c:Lcn/a/a/b/b;

    invoke-virtual {v2}, Lcn/a/a/b/b;->j()I

    move-result v2

    invoke-virtual {v0, v1, v2, v4}, Lcom/xingbook/ui/b/a;->b(III)V

    iget v0, p0, Lcom/xingbook/ui/a/i;->D:I

    if-ne v0, v4, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    new-instance v0, Lcom/xingbook/ui/a/k;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/a/k;-><init>(Lcom/xingbook/ui/a/i;)V

    invoke-virtual {v0}, Lcom/xingbook/ui/a/k;->start()V

    iput v3, p0, Lcom/xingbook/ui/a/i;->s:I

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->m()V

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->n()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/i;->d:I

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/ui/b/a;->a(II)Z

    :cond_0
    iput v3, p0, Lcom/xingbook/ui/a/i;->D:I

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget v0, p0, Lcom/xingbook/ui/a/i;->D:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_3

    iget v0, p0, Lcom/xingbook/ui/a/i;->D:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_1

    :cond_3
    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->n()V

    if-eqz p1, :cond_4

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/i;->d:I

    invoke-virtual {v0, v1, v5}, Lcom/xingbook/ui/b/a;->a(II)Z

    :cond_4
    iput v3, p0, Lcom/xingbook/ui/a/i;->D:I

    goto :goto_0
.end method

.method public b()V
    .locals 2

    const/4 v1, 0x1

    iget v0, p0, Lcom/xingbook/ui/a/i;->D:I

    if-nez v0, :cond_0

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/a/i;->b(Z)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v1}, Lcom/xingbook/ui/a/i;->a(Z)V

    goto :goto_0
.end method

.method public b(II)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p1

    iget v2, p0, Lcom/xingbook/ui/a/i;->E:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p2

    iget v2, p0, Lcom/xingbook/ui/a/i;->F:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->y:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->y:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->B:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    invoke-interface {v0, v1, v2}, Landroid/view/WindowManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_0
    return-void
.end method

.method public b(Z)V
    .locals 3

    iget v0, p0, Lcom/xingbook/ui/a/i;->D:I

    if-nez v0, :cond_1

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->p()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/i;->d:I

    const/4 v2, 0x6

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/b/a;->a(II)Z

    :cond_0
    const/4 v0, 0x1

    iput v0, p0, Lcom/xingbook/ui/a/i;->D:I

    :cond_1
    return-void
.end method

.method public c()V
    .locals 4

    const/4 v3, 0x1

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->c()V

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->b()[Lcn/a/a/d/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->C:Lcom/xingbook/d/a;

    const/4 v2, 0x0

    aget-object v2, v0, v2

    invoke-virtual {v2}, Lcn/a/a/d/b;->a()I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    array-length v1, v0

    if-le v1, v3, :cond_1

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->C:Lcom/xingbook/d/a;

    aget-object v0, v0, v3

    invoke-virtual {v0}, Lcn/a/a/d/b;->a()I

    move-result v0

    invoke-virtual {v1, v0}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    :goto_0
    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->m()V

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->x:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    iput-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    goto :goto_0
.end method

.method public c(II)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p1

    iget v2, p0, Lcom/xingbook/ui/a/i;->E:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p2

    iget v2, p0, Lcom/xingbook/ui/a/i;->F:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->y:I

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->y:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    invoke-virtual {v0, p0}, Lcom/xingbook/ui/b/a;->setActivityTouchListener(Lcom/xingbook/ui/overclass/a;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->B:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ui/a/i;->A:Landroid/view/WindowManager$LayoutParams;

    invoke-interface {v0, v1, v2}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/a/i;->y:Z

    const/4 v0, 0x4

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/i;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public c(Z)V
    .locals 3

    iget v0, p0, Lcom/xingbook/ui/a/i;->D:I

    if-nez v0, :cond_0

    invoke-direct {p0}, Lcom/xingbook/ui/a/i;->o()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/i;->d:I

    const/4 v2, 0x7

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/b/a;->a(II)Z

    :cond_0
    const/4 v0, 0x2

    iput v0, p0, Lcom/xingbook/ui/a/i;->D:I

    return-void
.end method

.method public d()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->d()V

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->p:Lcn/a/a/b/e;

    invoke-virtual {v0}, Lcn/a/a/b/e;->f()Lcn/a/a/d/e;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/e;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/i;->a(Z)V

    :cond_0
    return-void
.end method

.method public e()V
    .locals 1

    const/4 v0, 0x0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->e()V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/i;->b(Z)V

    iput v0, p0, Lcom/xingbook/ui/a/i;->s:I

    return-void
.end method

.method public f()V
    .locals 2

    const/4 v1, 0x0

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->x:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    :cond_1
    iput-object v1, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    :cond_3
    iput-object v1, p0, Lcom/xingbook/ui/a/i;->o:Landroid/graphics/Bitmap;

    :cond_4
    invoke-super {p0}, Lcom/xingbook/ui/a/c;->f()V

    return-void
.end method

.method public g()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->g()V

    return-void
.end method

.method public getMovingState()Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->y:Z

    return v0
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 3

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/a/i;->G:Landroid/graphics/Rect;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->G:Landroid/graphics/Rect;

    invoke-virtual {p1, v0, v2, v1, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    :goto_1
    iget-boolean v0, p0, Lcom/xingbook/ui/a/i;->x:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/i;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/a/i;->n:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v0, v1, v1, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V

    goto :goto_1
.end method

.method public setNoMove(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/ui/a/i;->w:Z

    return-void
.end method
